##ifndef __HTTP_VISTOR_H
#define __HTTP_VISTOR_H

#include "./include/curl/curl.h"

class HttpVistor
{
public:
  HttpVistor();
  ~HttpVistor();

  static HttpVistor* getInstance();

  bool url(Url url, void(*url_callback)(void*));

private:
  static HttpVistor* instance_;

  CURL* curl_;

  HttpVistor& HttpVistor(const HttpVistor& other);
  HttpVistor& operation=(const HttpVistor& other);
};
#endif